<script>
	const value = await 'value';
</script>

{#snippet valueSnippet()}
	{value}
{/snippet}

{@render valueSnippet()}